package il.ac.tau.cg.ex3.entities.surfaces;

import il.ac.tau.cg.ex3.entities.styles.Material;
import il.ac.tau.cg.ex3.math.shapes.Shape;
import il.ac.tau.cg.ex3.math.shapes.Sphere;

public class SphereSurface extends Surface
{
	private Sphere sphere;
	
	public SphereSurface(Material material, Sphere sphere)
	{
		super(material);
		
		this.sphere = sphere;
	}

	public void setSphere(Sphere sphere)
	{
		this.sphere = sphere;
	}
	
	public Sphere getSphere()
	{
		return sphere;
	}
	
	@Override
	public int getType()
	{
		return SurfaceTypes.SPHERE;
	}

	@Override
	public Shape getShape()
	{
		return sphere;
	}
}
